-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Add socket extensions for cygwin #139524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Add socket extensions for cygwin #139524
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Some limitations:
|
e0b30bf
to
ce3ee0c
Compare
☔ The latest upstream changes (presumably #143157) made this pull request unmergeable. Please resolve the merge conflicts. |
I think Jonas doesn't do reviews currently. @Berrysoft can you solve conflicts? We will reroll the reviewer. |
c1a11cb
to
31597e6
Compare
Thanks! I have rebased the PR. |
This comment has been minimized.
This comment has been minimized.
Thanks. r? rust-lang/libs |
Rerolling: #144651 (comment) r? rust-lang/libs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a docs request then r=me with a squash
#[cfg(any(target_os = "android", target_os = "linux"))] | ||
#[cfg(any(target_os = "android", target_os = "linux", target_os = "cygwin"))] | ||
#[test] | ||
#[cfg_attr(target_os = "cygwin", ignore)] // Cygwin cannot bind to abstract addr |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will these tests eventually be run? It seems a bit unusual (though logical) to have them opt-in enabled, and then opt out of running.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The limitations mentioned in #139524 (comment) would be good to document in-tree. Could you add them to the doc comment of this file?
It would be good to mention whether each limitation comes from (1) cygwin bugs that we expect to be fixed, (2) features that aren't supported but could be, (3) some kind of bigger limitation that probably won't happen.
r? @joboet